package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.DataDxRecordDao;
import io.renren.entity.DataDirectorachiRecordEntity;
import io.renren.entity.DataDxRecordEntity;
import io.renren.service.DataDxRecordService;



@Service("dataDxRecordService")
public class DataDxRecordServiceImpl implements DataDxRecordService {
	@Autowired
	private DataDxRecordDao dataDxRecordDao;
	
	@Override
	public DataDxRecordEntity queryObject(String id){
		return dataDxRecordDao.queryObject(id);
	}
	
	@Override
	public List<DataDxRecordEntity> queryList(Map<String, Object> map){
		return dataDxRecordDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return dataDxRecordDao.queryTotal(map);
	}
	
	@Override
	public void save(DataDxRecordEntity dataDxRecord){
		dataDxRecordDao.save(dataDxRecord);
	}
	
	@Override
	public void update(DataDxRecordEntity dataDxRecord){
		dataDxRecordDao.update(dataDxRecord);
	}
	
	@Override
	public void delete(String id){
		dataDxRecordDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		dataDxRecordDao.deleteBatch(ids);
	}

	@Override
	public DataDxRecordEntity querySingle(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return dataDxRecordDao.querySingle(map);
	}

	@Override
	public void deleteByMonth(String month) {
		// TODO Auto-generated method stub
		dataDxRecordDao.deleteByMonth(month);
	}
	
}
